package com.example.chesswithnet;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

/**
 * ATM机 取款存款 登录注册
 */

public class Main extends Application {

    @Override
    public void start(Stage primaryStage) throws Exception{
        Parent root = FXMLLoader.load(getClass().getResource("login.fxml"));
        primaryStage.setTitle("登录");
        primaryStage.setScene(new Scene(root,300,300));
        primaryStage.setX(800);
        primaryStage.setY(300);
        primaryStage.show();
    }

    public static void main(String args[]){
        launch(args);
    }

}
